﻿using FDSimpleModelGenerator.Entities.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace FDSimpleModelGenerator.Models
{
    /// <summary>
    /// 公共配置
    /// </summary>
    public class CommonSettingModel
    {
        /// <summary>
        /// 服务器
        /// </summary>
        public string ServerName { get; set; }

        /// <summary>
        /// 数据库
        /// </summary>
        public string Database { get; set; }

        /// <summary>
        /// 用户
        /// </summary>
        public string UserId { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
        
        /// <summary>
        /// 数据库类型
        /// </summary>
        public DbType DbType { get; set; }
    }
}
